home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Prog / T / TC Prog Guide.cpt / picture ƒ / frame.c < prev    next >
Text File  |  1991-02-16  |  644b  |  35 lines

  1. /*
  2. *    FILE:        frame.c
  3. *    AUTHOR:        R. Gonzalez
  4. *    CREATED:    October 3, 1990
  5. *
  6. *    methods for frame class
  7. */
  8.  
  9. # include    "frame.h"
  10.  
  11. /******************************************************************
  12. *    initialize
  13. ******************************************************************/
  14. boolean    Frame::init(void)
  15. {
  16.     set(0.,0.,2.,2.);
  17.     
  18.     return TRUE;
  19. }
  20.  
  21. /******************************************************************
  22. *    set values
  23. ******************************************************************/
  24. void    Frame::set(double x_val,double y_val,double width_val,
  25.                     double height_val)
  26. {
  27.     x = x_val;
  28.     y = y_val;
  29.     width = width_val;
  30.     height = height_val;
  31. }
  32.  
  33.  
  34.  
  35.